<?php

namespace App\Repositories\Transformers;

use App\Models\Venue;
use League\Fractal\TransformerAbstract;

class VenueListTransformer extends TransformerAbstract
{
    public function transform(Venue $venue)
    {
        return [
            'id' => $venue->id,
            'name' => $venue->name,
            'desc' => $venue->desc,
            'image' => $venue->image,
            'meet_cancel_set' => $venue->meet_cancel_set,
            'meet_status' => $venue->meet_status,
        ];
    }
}
